package com.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hello
 * @since 2024-07-03
 */
@Getter
@Setter
@TableName("pointsstore")
public class Pointsstore implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;

    @TableField("product_name")
    private String productName;

    @TableField("product_image")
    private String productImage;

    @TableField("product_points")
    private Integer productPoints;

    @TableField("is_listed")
    private Boolean isListed;

    @TableField("description")
    private String description;

    @TableField("stock")
    private Integer stock;

    @TableField("sold")
    private Integer sold;
}
